﻿using Service.Core.Repository.Core;
using Service.Framework;
using Service.Framework.OperationLog;

namespace Service.Core.Repository.Service
{
    public interface IOperationLogService : IScopedService
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="type"></param>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<(List<OperationLog> list, int totalCount)> GetOperationLogs(int pageIndex, int pageSize, OperationLogType? type = null, string userId = "");
    }
}
